<template>
    <CommonList :datatitle="FriendMSGUrlSet.title" key-field-name="id" :table-data="tableData"
      :column-list="FriendMSGColumns" :op-column-width="300" :total-count="tableData.length" searchplaceholder="搜索" :use-select="false">

    </CommonList>
</template>

<script setup lang="ts">

import { InitComponentData} from 'common-list' //初始化组件，获取列表数据
import { FriendMSGColumns,netUtil } from '../models/columndata';//字段集合和网络工具类

import { FriendMSG } from "../models/index"; //数据对象
import { FriendMSGUrlSet } from "../models/urlset";//读取数据的网址对象
//import { RoleCheck } from '../utils/rolecheck';//权限检查
debugger
const { tableData } = InitComponentData<FriendMSG>(netUtil,FriendMSGUrlSet, 'id', null, {});
//RoleCheck()
</script>